package com.canqiang.docadvice;


import android.app.ActivityGroup;
import android.content.Intent;
import android.os.Bundle;
import android.widget.LinearLayout;

public class PatientOutCaseActivity extends ActivityGroup {
	private LinearLayout container = null;
	@Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.patientoutcase);
        container = (LinearLayout) findViewById(R.id.caseout);
        startOutCaseList();
	}
	public void startOutCaseList(){
		container.removeAllViews();
		container.addView(getLocalActivityManager().startActivity(
                "caseouttime",
                new Intent(PatientOutCaseActivity.this,PatientOutCaseListActivity.class)
                .addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP)).getDecorView());
	}

}
